package yxy.game.pm2.command.yilingbattle;

import yxy.cherry.game.base.message.MessageEmitterHandler;
import yxy.cherry.game.base.message.annotation.MessageSource;
import yxy.cherry.game.base.message.annotation.MessageType;
import yxy.game.pm2.Result;
import yxy.game.pm2.command.Command;
import yxy.game.pm2.message.YiLingMessage;

/** 征战 通关进度排行榜膜拜 */
@MessageType(proto = Command.YiLingBattleRankWorship, classtype = YiLingMessage.YiLingBattleRankWorshipRequest.class)
public class CMD_YiLingBattleRankWorship extends Command<YiLingMessage.YiLingBattleRankWorshipRequest> {


    @Override
    public void execute(MessageSource messageSource, YiLingMessage.YiLingBattleRankWorshipRequest request) throws Exception {





    }




    private void send(MessageSource messageSource, YiLingMessage.YiLingBattleRankWorshipResponse.Builder response, Result result) {
        response.setResult(result.packResult());
        MessageEmitterHandler.getInstance().send(messageSource, response.build());
    }
}